import {post,get,uploadFile} from './request.js'
// 接口例子
export const ps = (params) => post(url,params);
/**************************上传文件************************/
export const fileUpload = (params) => uploadFile('/api/upload/file',params);
// 注册&登录
export const register = (params) => post('/api/login/index',params);
// 获取手机号
export const set_mobile = (params) => post('/api/user/set_mobile',params);
// 获取用户信息
export const profile = (params) => get('/api/user/profile',params);
// 获取订单列表
export const order_list = (params) => post('/api/user/order_list',params);
// 修改个人信息
export const set_profile = (params) => post('/api/user/set_profile',params);
// 账号注销
export const write_off = (params) => post('/api/user/write_off',params);
// 获取协议
export const agreement = (params) => post('/api/user/agreement',params);
// 获取公共配置
export const setting = (params) => post('/api/user/setting',params);
// 充值
export const do_recharge = (params) => post('/api/user/do_recharge',params);

/* 获取紫薇十二宫 */
export const zwpan = (params) => post('/api/user/zwpan',params);

/* 创建支付订单 */
export const create_payment = (params) => post('/api/payment/create_payment',params);

/* 判断是否能进行ai对话 */
export const is_allow = (params) => post('/api/user/is_allow',params);

/* 易币明细 */
export const balance_list = (params) => post('/api/user/balance_list',params);

/* 会员权益列表 */
export const get_vip_list = (params) => post('/api/vip/get_list',params);

/* 订单详情 */
export const order_info = (params) => post('/api/user/order_info',params);

/* 取消订单 */
export const cancel_order = (params) => post('/api/user/cancel_order',params);

/* 优惠券列表 */
export const coupons_list = (params) => post('/api/user/coupons_list',params);

/* 消息列表 */
export const notice_list = (params) => post('/api/user/notice_list',params);

/* 消息列表 */
export const notice_info = (params) => post('/api/user/notice_info',params);

/* 易币支付 */
export const coin_pay = (params) => post('/api/payment/coin_pay',params);

/* 易币支付 */
export const liunian_list = (params) => post('/api/user/liunian_list',params);

/* 发送验证码 */
export const send_sms = (params) => post('/api/login/send_sms',params);



// 充值易币
export const recharge = (params) => post('/rec/',params);
// 易币明细
export const moneylook = (params) => post('/moneylook/',params);
// 开通vip
export const viper = (params) => post('/viper/',params);
// 微信支付
export const pay = (params) => post('/pay/',params);
// 获取开通会员的价格
export const vipPrice = (params) => get('/mo/',params);
// 获取消息通知列表
export const notifications = (params) => post('/notifications/',params);
// 获取卡券明细列表
export const coupons = (params) => post('/aps/',params);

/* AI模块接口 */
// 	请求每日运势接口
// export const everyday_destiny = (params) => post('/llm_server/everyday_destiny',params);
export const everyday_destiny = (params) => post('/api/user/everyday_destiny',params);
// 	智能体对话接口
// export const req_chat = (params) => post('/llm_server/chat',params);
export const req_chat = (params) => post('/api/user/ai_chat',params);
// 	流年运势接口
export const req_yunshi = (params) => post('/llm_server/req_yunshi',params);


/* 神煞三方接口 */
// export const getBz = (params) => get('/bzpp/getBz',params);
export const getBz = (params) => post('/api/user/get_bz',params);

